﻿<UserControl x:Class="EQual.MainModule.Employees.DetailsViews.EmployeesExperianceView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dg="http://schemas.microsoft.com/wpf/2008/toolkit"
    xmlns:WpfApplicationExperimental="clr-namespace:WpfApplicationExperimental;assembly=WpfApplicationExperimental"
             >
    <Grid>
        <dg:DataGrid  Name="dataGrid1"  
                      CanUserAddRows="True"
                      Background="Transparent" 
                      AutoGenerateColumns="False"
                      ItemsSource="{Binding Path=ItemsCollection}" SelectionChanged="dataGrid1_SelectionChanged" RowEditEnding="dataGrid1_RowEditEnding">

            <dg:DataGrid.Columns >
                <dg:DataGridTextColumn Binding="{Binding EmployeeId}" Header="Employee Id" />
                <dg:DataGridTextColumn Binding="{Binding EducationTitle}" Header="Education Title"/>
                <dg:DataGridTextColumn Binding="{Binding School}" Header="University"/>

            </dg:DataGrid.Columns>
        </dg:DataGrid>
    </Grid>
</UserControl>